package cn.tedu.fruitshop.service;

import cn.tedu.fruitshop.pojo.vo.RoleListItemVO;
import cn.tedu.fruitshop.pojo.vo.UserListItemVO;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
@Repository
public interface RoleServer {

    List<UserListItemVO> userList();

    List<UserListItemVO>businessList();

    List<UserListItemVO>adminList();

    void delete(Integer id);

}
